//package com.zbkj.common.netty;
//
//import cn.easyes.annotation.IndexField;
//import cn.easyes.annotation.IndexId;
//import cn.easyes.annotation.IndexName;
//import cn.easyes.annotation.rely.FieldType;
//import cn.easyes.annotation.rely.IdType;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
//import lombok.Data;
//import lombok.EqualsAndHashCode;
//import lombok.experimental.Accessors;
//
///**
// * @author Administrator
// */
//@Data
//@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
//@IndexName(value = "es_message", shardsNum = 1, replicasNum = 0)
//@ApiModel(value = "EsMessage对象", description = "消息对象")
//public class EsMessage {
//
//    @ApiModelProperty(value = "id")
//    @IndexId(type = IdType.CUSTOMIZE)
//    private Long id;
//
//    @ApiModelProperty(value = "发送用户id")
//    private Integer sendUserId;
//
//    @ApiModelProperty(value = "接受用户id")
//    private Integer acceptUserId;
//
//    @ApiModelProperty(value = "消息内容")
//    @IndexField(fieldType = FieldType.KEYWORD)
//    private String messageContent;
//
//    @ApiModelProperty(value = "消息类型(2发送文字  3发送语音  4发送图片  5发送商品链接)")
//    private Integer type;
//
//    @ApiModelProperty(value = "发送消息时的时间戳")
//    private Long createTime;
//
//    @ApiModelProperty(value = "已读消息时的时间戳")
//    private Long readTime;
//
//    @ApiModelProperty(value = "是否已读(0未读  1已读)")
//    private Integer idRead;
//
//    @ApiModelProperty(value = "扩展字段")
//    private String extendField;
//}
